package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LExamineSort
 * @date 2021.04.26 11:33
 * @describe 问卷调查分类
 */
@TableName("l_examine_sort")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LExamineSort对象", description="问卷调查分类")
public class LExamineSort implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "examine_sort_id", type = IdType.AUTO)
    private Integer examineSortId;

    @ApiModelProperty(value = "问卷调查分类名字")
    @TableField("examine_sort_name")
    private String examineSortName;

    @ApiModelProperty(value = "父id")
    @TableField("parent_node")
    private Integer parentNode;

    @ApiModelProperty(value = "问卷调查分类状态")
    @TableField("state")
    private String state;
    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @TableField(exist = false)
    private List<LExamineSort> lExamineSorts;

    public List<LExamineSort> getlExamineSorts() {
        return lExamineSorts;
    }

    public void setlExamineSorts(List<LExamineSort> lExamineSorts) {
        this.lExamineSorts = lExamineSorts;
    }

    public Integer getExamineSortId() {
        return examineSortId;
    }

    public void setExamineSortId(Integer examineSortId) {
        this.examineSortId = examineSortId;
    }

    public String getExamineSortName() {
        return examineSortName;
    }

    public void setExamineSortName(String examineSortName) {
        this.examineSortName = examineSortName;
    }

    public Integer getParentNode() {
        return parentNode;
    }

    public void setParentNode(Integer parentNode) {
        this.parentNode = parentNode;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
}
